﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Repeater ID="listare_list" runat="server" DataSourceID="SqlDataSource1">
        <HeaderTemplate>
            <ul>
        </HeaderTemplate>
        <ItemTemplate>
            <li>
                <div id="T1"><asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("Link", "Http://{0}") %>'>
                <%# Eval("Titlu")%></asp:HyperLink></div>
                <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl='<%# Eval("Index", "~/LinqDetailedBookmark.aspx?id={0}") %>'>
                        More Details 
                </asp:HyperLink>( <%# Eval("Descriere") %> )
            </li>
        </ItemTemplate>
        <FooterTemplate>
            </ul>
        </FooterTemplate>
    </asp:Repeater>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
        ConnectionString="<%$ ConnectionStrings:ConStrDinTren %>" 
        SelectCommand="SELECT * FROM [Bookmark]"></asp:SqlDataSource>
</asp:Content>
